package com.easy.work.http;

import java.io.Serializable;

/**
 * Created by zzgpc on 2017-9-10.
 * 登录返回
 */
public class UserInfoResponse implements BaseResponse {
    /**
     *
     */
    public static final long serialVersionUID = -2743818012979805572L;
    private int code;
    private String msg;

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

    private Body body;
    private Tokens properties;

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Body getBody() {
        return this.body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public Tokens getProperties() {
        return this.properties;
    }

    public void setProperties(Tokens properties) {
        this.properties = properties;
    }

    public class Body implements Serializable {
        public String id;
        public String userId;
        public String roleId;
        public String tenantId;
        public String manageUnit;
        public String lastLoginTime;
        public String lastIPAddress;
        public String lastUserAgent;
        public String displayName;
        public String userName;
        public String tenantName;
        public String roleName;
        public String manageUnitName;
    }

    public class Tokens implements Serializable {
        public String accessToken;
    }
}
